/*
 * BugetsSummary.h
 *
 *  Created on: 2013-2-8
 *      Author: Dspark
 */

#ifndef BUGETSSUMMARY_H_
#define BUGETSSUMMARY_H_
#include <qdialog.h>
#include "../utile/DAObject.h"
#include <qtableview.h>
#include "../bo/Buget.h"
#include <qstandarditemmodel.h>
#include "component/DynamicPie.h"
#include "BugetViewer.h"
#include <qlayout.h>
class BugetsSummary : public QWidget{
	Q_OBJECT
public:
	BugetsSummary(quint32 pid);
	virtual ~BugetsSummary();
protected Q_SLOTS:
	void slt_view(const QModelIndex &index);
protected:
	void initUI();
	void loadData();
	quint32 pid;
	QGridLayout layout;
	QTableView tab;
	QStandardItemModel model;
	DynamicPie pie;
};

#endif /* BUGETSSUMMARY_H_ */
